import * as React from 'react';
import { RouteComponentProps, withRouter } from 'react-router';
import MainContent from "./MainContent";
import SideMenu from "./SideMenu";
import {Layout} from "antd";
import './index.css'

export interface IMainProps extends RouteComponentProps{
}


export interface IMainState {
}

class Main extends React.Component<IMainProps, IMainState> {

  public render() {
    return (
        <div id={"maincoutent"} className={"h-100 d-flex"}>
            <Layout className={"d-flex h-100"}>
                <SideMenu/>
                <MainContent></MainContent>
            </Layout>

        </div>
    );
  }
}

export default withRouter(Main)


